const blockRouter = {
	path: "/block",
	name: "block",
	meta: {
		title: "menu.block",
		icon: "icon-zhanghaoguanli",
	},
	redirect: "/block/basicBlock",
	children: [
		{
			path: "basicBlock",
			component: () => import("@/views/block/BasicBlock.vue"),
			name: "BasicBlock",
			meta: {
				title: "menu.block.basicBlock",
				roles: ["user"],
			},
		},
		{
			path: "learningBlock",
			component: () => import("@/views/block/LearningBlock.vue"),
			name: "LearningBlock",
			meta: {
				title: "menu.block.learningBlock",
				roles: ["test"],
			},
		},
	],
};

export default blockRouter;
